package com.eeprint.system.service.platform;


import com.eeprint.system.domain.platform.FORM.PlatformAddOrUpdateTenantFORM;
import com.eeprint.system.domain.platform.FORM.PlatformUserUpdateFORM;
import com.eeprint.system.domain.platform.PlatformTenant;
import com.eeprint.system.domain.platform.PlatformUser;

import javax.servlet.http.HttpSession;
import java.math.BigInteger;
import java.util.List;

/**
  * @Author newhonor
  * @Date 2020/10/19
  * @Version 1.0
**/

public interface PlatformTenantService {
    //查找全部租户
    public List<PlatformTenant> findTenants(int page, int limit);
    //租户页数
    public int countTenants(int limit);
    //添加租户
    public boolean addTenant(PlatformAddOrUpdateTenantFORM platformAddOrUpdateTenantFORM, HttpSession session);
    //更新租户
    public boolean updateTenant(PlatformAddOrUpdateTenantFORM platformAddOrUpdateTenantFORM, HttpSession session);
}
